import Content from "@/views/Content.vue";
export default [
    {
        path: '/',
        redirect: '/content',
    },
    {
        path: '/content',
        component: Content,
    },
    {
        path: '/detail/:author_id',
        name:'Detail',
        props:true,
        component: () => import('@/views/Detail.vue'),
    },
    {
        path: '/userDetail/:loginname',
        name:'UserDetail',
        props:true,
        component: () => import('@/views/UserDetail.vue'),
    },
    {
        path: '/userCollect/:loginname',
        name:'UserCollect',
        props:true,
        component: () => import('@/views/UserCollect.vue'),
    }
]
